<html>
	<head>
		<style>
			#box{
			    width:200px;
			    height:100px;
			    border-style:solid;
			    border-width:5px;
			    background:lightgreen;
			    color:red;
			}

			a:link, a:visited{
			    border-style:solid;
			    border-width:5px;
			    border-color:transparent;
			}
			a:hover{
			    border-color:gray;
			}

			#boxx{
			    border:5px solid red;
			    outline:4px dotted green;
			}
		</style>
	</head>
	<body>
		<div id="box">
		内容
		</div>
		<a href="#">AAA</a>
		<a href="#">BBB</a>
		<a href="#">CCC</a>

		<div id="boxx">
		内容
		</div>
	</body>
</html>